package com.hzzc.core.model;

import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Unique;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;

import javax.persistence.Table;
import java.io.Serializable;

@Table(name = "sso_application")
@com.gitee.sunchenbin.mybatis.actable.annotation.Table(name = "sso_application")
public class SSOApplication extends AutoIncrementEntity implements Serializable {

    /**
     * 编码
     */
    @Unique
    @Column(name = "code", type = MySqlTypeConstant.VARCHAR, length = 50)
    private String code;

    /**
     * 名字
     */
    @Unique
    @Column(name = "name", type = MySqlTypeConstant.VARCHAR, length = 50)
    private String name;

    /**
     * 描述
     */
    @Column(name = "msg", type = MySqlTypeConstant.VARCHAR, length = 50)
    private String msg;

    public String getMsg() {
        return msg;
    }

    public SSOApplication setMsg(String msg) {
        this.msg = msg;
        return this;
    }

    public String getCode() {
        return code;
    }

    public SSOApplication setCode(String code) {
        this.code = code;
        return this;
    }

    public String getName() {
        return name;
    }

    public SSOApplication setName(String name) {
        this.name = name;
        return this;
    }


}
